<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    body {
      display: flex;
      justify-content: center;
      align-items: center;
      min-height: 100vh;
    }
    div {
      float: left;
      border: 2px solid rebeccapurple;
      margin-right: 5px;
      overflow: hidden;
    }
    img {
      width: 100px;
      height: 100px;
      transition: all .5s;
    }
    div img:hover {
      transform: scale(1.1);
    }
  </style>
</head>
<body>
  <div><a href="#"><img src="./img/1.png" alt=""></a></div>
  <div><a href="#"><img src="./img/2.png" alt=""></a></div>
  <div><a href="#"><img src="./img/3.png" alt=""></a></div>
</body>
</html>